/**
 * 
 */
package com.monkeyboy.security.controller;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description<br>
 * 					session失效的时候跳转的路径
 * 
 * @author Gavin<br>
 *         2019年8月29日
 */
@RestController
@ResponseStatus(code = HttpStatus.UNAUTHORIZED)
public class SessionManagerController {
	@GetMapping("/session/invalid")
	public Object invalid() {
		return "登录过期了，请重新登录";
	}
}
